<template>
  <view class="lightColour navTop">
    <van-nav-bar title="寄卖详情" left-arrow fixed class="loginNav" @click-left="onClickLeft" />
    <div class="line"></div>
    <van-cell-group :border="false">
      <van-field value="寄卖中" label="当前状态" readonly />
      <van-field value="2天16:56:37" label="剩余时间" readonly />
      <van-field value="1200" label="本金" readonly />
      <van-field value="140" label="本轮收益" readonly />
    </van-cell-group>
    <div class="hit">
      注意：
      <br />寄卖结束前只能领取本金
      <br />
        寄卖结束后可以选择全部提现或收益提现，本金可选择锁仓套餐继续领取收益
    </div>
    <div class="btnBox">
      <button>全部提现</button>
      <button>收益提现（本金锁仓收益）</button>
    </div>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  onReady() {},
  methods: {
    onClickLeft() {
      uni.navigateBack();
    },
    onClickRight() {
      uni.navigateBack();
    },
    onChange() {
      console.log(vvv);
    }
  }
};
</script>

<style lang="less">
.jimai {
  padding: 0 30upx;
  > div {
    background: #fff;
    border-radius: 20upx;
    padding: 20upx 35upx;
    position: relative;
    h2 {
      color: #070707;
      font-size: 26upx;
    }
    div {
      display: inline-block;
      width: 300upx;
      span {
        color: #ff4657;
        font-size: 46upx;
      }
      p {
        color: #b8b8b8;
      }

      &:nth-child(3) {
        span {
          color: #070707;
          font-size: 32upx;
        }
        van-icon {
          margin-right: 20upx;
          font-size: 30upx;
          vertical-align: text-top;
          color: #ff4657;
          .van-icon {vertical-align:top;}
        }
      }
    }
    > van-icon {
      position: absolute;
      right: 20upx;
      top: 50%;
      transform: translate(0, -50%);
      color: #b8b8b8;
      font-size: 30upx;
    }
  }
}

.hit{
  margin-top: 120upx;
  padding: 0 30upx;
  color: #838383;
  font-size: 20upx;
}
.btnBox{
  margin-top:60upx;
  button{width: 690upx;height: 88upx;line-height: 88upx;color: #fff;font-size: 30upx;background:#FF4657;
    &:nth-child(2){background: #3C80FF;margin-top: 25upx;}
  }
}
</style>
